// mixin局部混入组件
export default {
  methods: {
    checkPermission(val) {
      // console.log(this.$store.state.user.userInfo.roles.points)
      const roles = this.$store.state.user.userInfo.roles
      return roles ? roles.points.includes(val) : false
    }
  }
}
